package fms.iwantsomemoney;

public class Profitability {
    public static final float LISTING_FEE = 0.05f;
    public static final float SELLING_FEE = 0.10f;

    public static float findUnitProfit(Item item) {
        return item.getSellPrice() * (1.0f - LISTING_FEE - SELLING_FEE) - item.getBuyPrice();
    }
}
